package com.ywk.base.designPattern.template;

/**
 * @Author zbh
 * @Date 2023/4/5
 */
public class Cricket /*extends Game*/ implements Game{
    @Override
    public void initialize() {
        System.out.println("Cricket Game Initialized! Start playing.");
    }

    @Override
    public void startPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }

    @Override
    public void endPlay() {
        System.out.println("Cricket Game Finished!");
    }
}
